package com.sgb.zhaocai.view.demand.adapter;

import android.content.Context;

import com.sgb.zhaocai.BR;
import com.sgb.zhaocai.R;
import com.sgb.zhaocai.entity.SubpackagePlanListEntity;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

/**
 * Time:2021/7/2
 * AUTHOR:F_Q
 * Description:
 */
public class SubpackagePlanAdapter extends BaseRecycleAdapter<SubpackagePlanListEntity> {

    public SubpackagePlanAdapter(Context context, List<SubpackagePlanListEntity> datas) {
        super(context, R.layout.zc_subpackageplan_item, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, SubpackagePlanListEntity entity) {
        holder.setBinding(BR.viewModel, entity);
    }
}
